package com.flower.mapper;

import com.flower.model.entity.Foster;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lm
 * @create 2022-03-26 15:27
 */
@Mapper
public interface FosterMapper {


    Page<Foster> findPage(Page<Foster> page, String phone, String fosName, String startTime, String fosOper,
                          String fosStatus);

    void add(Foster foster);

    void update(Foster foster);

    List<Foster> list();

    void removeById(Integer id);
}
